package com.evaluation.kexingcp.psycho.evaluation.sys.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 租户类型表
 *
 * @author pig
 * @date 2024-09-02 10:23:13
 */
@TableName("evaluation_tenant_types")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "租户类型表")
public class EvaluationTenantTypesEntity extends Model<EvaluationTenantTypesEntity> {


	/**
	* 租户关联的量表id
	*/
    @Schema(description="租户关联的量表id")
    private String scales;

	/**
	* 主键
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="主键")
    private Long id;

	/**
	* 用户展示的字段
	*/
    @Schema(description="用户展示的字段")
    private String userFileds;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 修改人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改人")
    private String updateBy;

	/**
	* 修改时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="修改时间")
    private LocalDateTime updateTime;

	/**
	* 删除标记
	*/
    @TableLogic
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="删除标记")
    private String delFlag;

	/**
	 * 租户类型名称
	 */
	@Schema(description="租户类型名称")
	private String name;

	@TableField(fill = FieldFill.UPDATE)
	@Schema(description="租户可用菜单")
	private String menus;

	@Schema(description="老师可用菜单")
	private String teacherMenus;

	@Schema(description="普通用户可用菜单")
	private String generalMenus;

	public String getTeacherMenus() {
		return teacherMenus;
	}

	public void setTeacherMenus(String teacherMenus) {
		this.teacherMenus = teacherMenus;
	}

	public String getGeneralMenus() {
		return generalMenus;
	}

	public void setGeneralMenus(String generalMenus) {
		this.generalMenus = generalMenus;
	}

	public String getMenus() {
		return menus;
	}

	public void setMenus(String menus) {
		this.menus = menus;
	}

	public String getScales() {
		return scales;
	}

	public void setScales(String scales) {
		this.scales = scales;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserFileds() {
		return userFileds;
	}

	public void setUserFileds(String userFileds) {
		this.userFileds = userFileds;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public LocalDateTime getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(LocalDateTime updateTime) {
		this.updateTime = updateTime;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}